package com.example.moonshine.redzxingtwo.Activity;

import android.app.Activity;
import android.graphics.Color;
import android.os.Bundle;


import com.example.moonshine.redzxingtwo.R;
import com.example.moonshine.redzxingtwo.Util.DownloadUtil;
import com.github.zackratos.ultimatebar.UltimateBar;


/**
 * Created by moonshine on 2018/4/12.
 */

public class SuccessActivity extends Activity {
    public void onCreate(Bundle savdInstanceStated) {
        super.onCreate(savdInstanceStated);
        setContentView(R.layout.success_layout);
        /**
         * 改变状态栏的颜色
         */
        UltimateBar.newColorBuilder()
                .statusColor(Color.parseColor("#444e5a"))       // 状态栏颜色
                .statusDepth(30)                // 状态栏颜色深度
                .build(this)
                .apply();
    }
    public void finish() {
        super.finish();
        overridePendingTransition(R.anim.down_in, R.anim.down_out);
    }
}
